home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / alpha / modules / resources / mathresource.m < prev    next >
Encoding:
Text File  |  2002-10-28  |  1.0 KB  |  33 lines

  1. MODULE 'exec/nodes'
  2. /*
  3. * The 'Init' entries are only used if the corresponding
  4. * bit is set in the Flags field.
  5. *
  6. * So if you are just a 68881, you do not need the Init stuff
  7. * just make sure you have cleared the Flags field.
  8. *
  9. * This should allow us to add Extended Precision later.
  10. *
  11. * For Init users, if you need to be called whenever a task
  12. * opens this library for use, you need to change the appropriate
  13. * entries in MathIEEELibrary.
  14. */
  15. OBJECT MathIEEEResource
  16.   MathIEEEResource_Node:Node,
  17.   MathIEEEResource_Flags:UWORD,
  18.   MathIEEEResource_BaseAddr:PTR TO UWORD,
  19.   MathIEEEResource_DblBasInit(),
  20.   MathIEEEResource_DblTransInit(),
  21.   MathIEEEResource_SglBasInit(),
  22.   MathIEEEResource_SglTransInit(),
  23.   MathIEEEResource_ExtBasInit(),
  24.   MathIEEEResource_ExtTransInit()
  25.  
  26. /* definations for MathIEEEResource_FLAGS */
  27. CONST MATHIEEERESOURCEF_DBLBAS=(1<<0),
  28.  MATHIEEERESOURCEF_DBLTRANS=(1<<1),
  29.  MATHIEEERESOURCEF_SGLBAS=(1<<2),
  30.  MATHIEEERESOURCEF_SGLTRANS=(1<<3),
  31.  MATHIEEERESOURCEF_EXTBAS=(1<<4),
  32.  MATHIEEERESOURCEF_EXTTRANS=(1<<5)
  33.